package com.example.homemate.service.owner;

import com.example.homemate.model.entity.owner.Owner;
import com.example.homemate.model.entity.house.House;
import org.springframework.data.domain.Page;
import java.util.List;

public interface OwnerService {
    Page<Owner> getOwners(int page, int size, String sortField, String sortDirection);
    Owner saveOwner(Owner owner);
    void deleteOwner(Long id);
    void initTestData();
    Owner updateOwner(Long id, Owner updatedOwner);
    List<Owner> getAllOwners();
    Owner getOwnerById(Long id);
    Owner bindHouseToOwner(Long ownerId, Long houseId);
    List<House> getOwnerHouses(Long ownerId);
}